package com.qiuling.iot.service;

import com.qiuling.iot.entity.SysRole;
import com.qiuling.iot.vo.req.AddRoleReqVO;
import com.qiuling.iot.vo.req.RolePageReqVO;
import com.qiuling.iot.vo.req.RoleUpdateReqVO;
import com.qiuling.iot.vo.resp.PageVO;

import java.util.List;

/**
 * @Author：zhangqiang
 * @Description：
 * @Date：Created in 17:08 2020/2/11
 * @Modified By：
 */
public interface RoleService {

    PageVO<SysRole> pageInfo(RolePageReqVO vo);

    SysRole addRole(AddRoleReqVO vo);

    List<SysRole> selectAll();

    SysRole detailInfo(String id);

    void updateRole(RoleUpdateReqVO vo);

    void deletedRole(String roleId);

    List<String> getRoleNames(String userId);

    List<SysRole> getRoleInfoByUserId(String userId);
}
